
export interface ResponseData {
    code:number,
    message:string,
    ok:boolean
}

export interface Attr {
    attrId:number|string,
    valueId:number|string
}

export interface saleAttr {
    saleAttrId:number|string,
    saleAttrValueId:string|number
}
export interface SkuData {
    id?:number,
    category3Id:string|number,
    spuId:string|number,
    tmId:string|number,
    skuName:string|number,
    price:string|number,
    weight:string|number,
    skuDesc:string,
    skuAttrValueList?:Array<Attr>,
    skuSaleAttrValueList?:Array<saleAttr>,
    skuDefaultImg:string,
    isSale?:number
}

export interface SkuResponseData extends ResponseData {
    data:{
        records:Array<SkuData>,
        total:number,
        size:number,
        current:number,
        orders:Array<any>,
        optimizeCountSql:boolean,
        hitCount:boolean,
        countId:null,
        maxLimit:null,
        searchCount:boolean,
        pages:number
    }
}